curl --request GET \
--url https://app.masivo.ai/api/storefront/v1/rewards/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"brand_id": "<string>",
"name": "<string>",
"description": "<string>",
"type": "POINTS",
"conditions": [
[
{
"type": "Order Value",
"operator": "grater than",
"primitive": "string",
"value": 9.95
}
]
],
"attributes": {
"conversion_factor": 0.1
}
}
}Get a specific reward
curl --request GET \
--url https://app.masivo.ai/api/storefront/v1/rewards/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"brand_id": "<string>",
"name": "<string>",
"description": "<string>",
"type": "POINTS",
"conditions": [
[
{
"type": "Order Value",
"operator": "grater than",
"primitive": "string",
"value": 9.95
}
]
],
"attributes": {
"conversion_factor": 0.1
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The reward unique identifier
Ok
Show child attributes
The reward internal unique identifier
The brand id of the reward, null if is a global reward
The name of the reward
The description of the reward
The type of the reward
POINTS, DISCOUNT, GIFT_CARD, PRODUCT OR conditions
AND conditions
Show child attributes
The type of the condition
"Order Value"
The operator to compare the attribute
"grater than"
The primitive of the value to compare
string, number, currency, boolean, absolute date, relative date, recurring date The value to compare
9.95